<?php

namespace App\Http\Controllers\Web;

use Illuminate\Contracts\View\View;

class ErrorsController
{
    public function error404(): View
    {
        return view('errors.404');
    }

    public function serverError(): View
    {
        return view('errors.500');
    }

    public function notAuthorized(): View
    {
        return view('errors.403');
    }

    public function unauthorized(): View
    {
        return view('errors.401');
    }
}
